import request from "@/utils/request";
import type { RecommendDTO, RecommendVO } from "@/types/recommendType";
import type { Response } from "@/types/response";

/**
 * @description 获取推荐的接口
 * */
export const fetchRecommendListAPI = async (url: string, data: RecommendDTO): Promise<Response<RecommendVO>> => request<RecommendVO>({
   url,
   data,
   method: "GET",
});